package com.cxkj.dao;

import com.cxkj.dto.Summary;
import com.cxkj.dto.SummaryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SummaryMapper {
    int countByExample(SummaryExample example);

    int deleteByExample(SummaryExample example);

    int deleteByPrimaryKey(Integer sid);

    int insert(Summary record);

    int insertSelective(Summary record);

    List<Summary> selectByExample(SummaryExample example);

    Summary selectByPrimaryKey(Integer sid);

    int updateByExampleSelective(@Param("record") Summary record, @Param("example") SummaryExample example);

    int updateByExample(@Param("record") Summary record, @Param("example") SummaryExample example);

    int updateByPrimaryKeySelective(Summary record);

    int updateByPrimaryKey(Summary record);
   /* 新增方法*/
    long getCount();
    
    List<Summary> showSumByCount(@Param("startPos") int startPos,@Param("pageSize") int pageSize);
    //查询领取的册数
    long selectByQu();
    //修改领取状态
    int updateGet(Summary record);

    


}